package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;

import java.util.List;


/**
 * 代码使我快乐 Administrator on 2019/12/1.
 */
public interface CheckGroupService {

    public void add(CheckGroup checkGroup,Integer[] checkitemIds);

    public void setCheckgroupAndCheckitem(Integer checkGroupId,Integer[] checkitemIds);

    public PageResult findPage(QueryPageBean queryPageBean);

    public void edit(CheckGroup checkGroup ,Integer[] checkitemIds);

    public void deleteCheck(Integer id);

    public CheckGroup findById(Integer id);

    public List<Integer> findByCheckItemIdsAndByCheckGroupId(Integer id);

    public List<CheckGroup> findAll();

}
